package main

import "fmt"

func main() {
	dragon := [5][5]int{}
	fmt.Println(dragon)
	a := 0
	for i := 0; i < 5; i++ {
		a += 1
		dragon[0][i] = a
	}
	for j := 1; j < 5; j++ {
		a += 1
		dragon[j][4] = a
	}
	for k := 3; k >= 0; k-- {
		a += 1
		dragon[4][k] = a
	}
	for m := 3; m >= 1; m-- {
		a += 1
		dragon[m][0] = a
	}
	for q := 1; q <= 3; q++ {
		a += 1
		dragon[1][q] = a
	}
	for w := 2; w <= 3; w++ {
		a += 1
		dragon[w][3] = a
	}
	for e := 2; e >= 1; e-- {
		a += 1
		dragon[3][e] = a
	}
	for c := 1; c <= 2; c++ {
		a += 1
		dragon[2][c] = a
	}
	fmt.Println(dragon)
}
